﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Luofei:Hero
    {
        public Luofei(string username)
        {
            this.Username = username;
            this.Heroname = "洛非";
            this.GongJi = 7;
            this.FangYu = 4;
            this.SuDu = 8;
            this.JiNeng1 = "爆炸精灵：中距离的追踪技术。连续点击技能可持续施放直至能量消耗完毕。";
            this.JiNeng2 = "暗影传送：传送一段距离后在目的地施展一次攻击。";
            this.JiNeng3 = "时空迸裂：洛菲在空间中撕开一个裂口，对敌人造成伤害并附加负面效果。";
        }
        public void Chuangjian()
        {
            Console.WriteLine("用户名：{0}，英雄名字{1}，攻击{2}，防御{3}，速度{4}，拥有技能:"
                , this.Username, this.Heroname, this.GongJi, this.FangYu, this.SuDu);
            Console.WriteLine(this.JiNeng1);
            Console.WriteLine(this.JiNeng2);
            Console.WriteLine(this.JiNeng3);
        }
    }
}
